package cym.service;

import com.alibaba.dubbo.config.annotation.Reference;
import cym.service.interfaces.DemoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class ProviderService {

    private static final Logger LOGGER = LoggerFactory.getLogger(ProviderService.class);

    @Reference
    private DemoService demoService;

    public void testService() {
        System.out.println(demoService.test("TEST DUBBO ANNOTATION"));
    }

}
